package org.cainiao.basic.lambda;

/**
 * <br />
 * <p>
 * Author: Cai Niao(wdhlzd@163.com)<br />
 */
public class MethodTypeTest {

    public static void main(String[] args) {
        Test test = new Test();
        test.f(s -> {
            if (s != null) {
                System.out.println(s);
            }
        });

        test.g(() -> "test");
    }
}
